<html DIR="LTR" xmlns:MSHelp="http://msdn.microsoft.com/mshelp" xmlns:ddue="http://ddue.schemas.microsoft.com/authoring/2003/5" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:tool="http://www.microsoft.com/tooltip"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=Windows-1252"></META><META NAME="save" CONTENT="history"></META><title>Keyboard Shortcuts for the Query Editor and Query Results View</title><STYLE TYPE="text/css">
    body
    {
        background:    #FFFFFF;
        color: #000000;
        font-family:    Verdana;
        font-size: medium;
        font-style: normal;
        font-weight: normal;
        margin-top:    0;
        margin-bottom:    0;
        margin-left:    0;
        margin-right:    0;
        width:    100%;
    }
    
    a
    {
        color:    #0000FF;
    }
    
    a:visited
    {
        color:    #0000FF;
    }
    
    a:link
    {
        color:    #0000FF;
    }
    
    a:hover
    {
        color:    #FF0000;
        cursor: hand;
    }
    
    a:active
    {
        color:    #FF0000;
        cursor: hand;
    }
    
    div#mainSection
    {
        font-size: 70%;
        width: 100%;
    }
    
    div#mainBody
    {
        font-size: 90%;
        margin-left:    5;
        margin-top: 10;
        padding-bottom: 20;
    }
    
    div#header
    {
        background-color: #D4DFFF;
        padding-top:    0;
        padding-bottom:    0;
        padding-left:    0;
        padding-right:    0;
        width:    100%;
    }
    
    div#header table
    {
        border-bottom-color: #C8CDDE;
        border-bottom-style: solid;
        border-bottom-width: 1;
        width:    100%;
    }
    
    span#runningHeaderText
    {
        color: #003399;
        font-size: 90%;
    }
    
    span#nsrTitle
    {
        color: #003399;
        font-size: 125%;
        font-weight: 600;
    }
    
    div#header table td
    {
        color: #0000FF;
        font-size: 70%;
        margin-top:    0;
        margin-bottom:    0;
        padding-right: 20;
    }
    
    div#header table tr#headerTableRow3 td
    {
        padding-bottom: 2;
        padding-top: 5;
    }
    
    div#header table#bottomTable
    {
        border-top-color: #FFFFFF;
        border-top-style: solid;
        border-top-width: 1;
        text-align: left;
    }
    
    div#footer
    {
        font-size: 90%;
        margin-top:    0;
        margin-bottom:    0;
        margin-left:    0;
        margin-right:    0;
        padding-top:    2;
        padding-bottom:    2;
        padding-left:    2;
        padding-right:    2;
        width:    100%;
    }
    
    hr#footerHR
    {
        border-bottom-color: #EEEEFF;
        border-bottom-style: solid;
        border-bottom-width: 1;
        border-top-color: C8CDDE;
        border-top-style: solid;
        border-top-width: 1;
        height: 3;
        color: #D4DFFF;
    }
    
    div.section
    {
        padding-top:    2;
        padding-bottom:    2;
        padding-left:    16;
        padding-right:    15;
        width:    100%;
    }
    
    .heading
    {
        font-weight:    bold;
        margin-top:        18;
        margin-bottom:    8;
    }
    
    h1.heading
    {
        color: #003399;
        font-size:    125%;
    }
    
    .subHeading
    {
        font-weight:    bold;
        margin-bottom:    4;
    }
    
    h3.subHeading
    {
        color:  #003399;
        font-size: 115%;
        font-weight: bold;
    }
    
    h4.subHeading
    {
        color: #003399;
        font-size: 105%;
    }
    
    h5.subHeading
    {
        color: #003399;
        font-size: 100%;
    }
    
    img.toggle
    {
    	border: 0;
	margin-right: 5;
    }

    img.copyCodeImage
    {
	border: 0;
	margin-right: 3;
    }

    img.downloadCodeImage
    {
	border: 0;
	margin-right: 3;
    }

    img.viewCodeImage
    {
	border: 0;
	margin-right: 3;
    }

    img.note
    {
	border: 0;
	margin-right: 3;
    }

    img#languageFilterImage
    {
	border: 0;
	margin-left: 10;
	vertical-align: middle;
    }

    img#membersOptionsFilterImage
    {
	border: 0;
	margin-left: 10;
	vertical-align: middle;
    }

    img#toggleAllImage
    {
	margin-left: 4;
	vertical-align: middle;
    }
    
    div#mainSection table
    {
        border: 0;
        font-size: 100%;
        width:    100%;
    }
    
    div#mainSection table th
    {
        background:    #EFEFF7;
        border-bottom-color: #C8CDDE;
        border-bottom-style: solid;
        border-bottom-width: 1;
        color: #000066;
        padding-left: 5;
        padding-right: 5;
    }
    
    div#mainSection table td
    {
        background:    #F7F7FF;
        border-top-color: #FFFFFF;
        border-top-style: solid;
        border-top-width: 1;
        padding-left: 5;
        padding-right: 5;
    }
    
    div#mainSection table td.imageCell
    {
        white-space: nowrap;
    }
    
    div.code table
    {
        border: 0;
        font-size: 95%;
        margin-bottom: 5;
        width: 100%
    }
    
    div.code table th
    {    
        background:    #EFEFF7;
        border-bottom-color: #C8CDDE;
        border-bottom-style: solid;
        border-bottom-width: 1;
        color: #000066;
        font-weight: bold;
        padding-left: 5;
        padding-right: 5;
    }
    
    div.code table td
    {
        background:    #F7F7FF;
        border-top-color: #FFFFFF;
        border-top-style: solid;
        border-top-width: 1;
        padding-left: 5;
        padding-right: 5;
        padding-top: 5;
    }
    
    div.alert table
    {
        border: 0;
        font-size: 100%;
        width:    100%;
    }
    
    div.alert table th
    {
        background:    #EFEFF7;
        border-bottom-width: 0;
        color: #000066;
        padding-left: 5;
        padding-right: 5;
    }
    
    div.alert table td
    {
        background:    #F7F7FF;
        border-top-color: #FFFFFF;
        border-top-style: solid;
        border-top-width: 1;
        padding-left: 5;
        padding-right: 5;
    }
    
    .copyCode
    {
        color: #0000ff;
        font-size: 90%;
        font-weight: normal;
    }
    
    .downloadCode
    {
        color: #0000ff;
        font-size: 90%;
        font-weight: normal;
    }
    
    .viewCode
    {
        color: #0000ff;
        font-size: 90%;
        font-weight: normal;
    }
    
    div.code pre
    {
        font-family:    Monospace, Courier New, Courier;
        font-size: 105%;
        color:    #000066;
        word-wrap:    break-word;
    }
    
    code
    {
        font-family:    Monospace, Courier New, Courier;
        font-size: 105%;
        color:    #000066;
    }
    
    dl
    {
        margin-top:    0;
        padding-left:    1;
    }
    
    dt
    {
        font-style:    italic;
    }
    
    dd
    {
        margin-bottom:    0;
        margin-left:    0;
    }
    
    ul
    {
        margin-left: 17;
        list-style-type: disc;
    }
    
    ul ul
    {
        margin-bottom: 4;
        margin-left: 17;
        margin-top: 3;
        list-style-type: disc;
    }
    
    ol
    {
        margin-left: 24;
        list-style-type: decimal;
    }
    
    ol ol
    {
        margin-bottom: 4;
        margin-left: 24;
        margin-top: 3;
        list-style-type: lower-alpha;
    }
    
    li
    {
        margin-bottom: 3;
    }
    
    p
    {
        margin-top: 0;
        margin-bottom: 15;
    }
    
    .tip
    {
        color:    #0000FF;
        font-style: italic;
        cursor:hand;
        text-decoration:underline;
    }
    
    .languageFilter
    {
        color:    #0000FF;
        cursor:hand;
        text-decoration:underline;
        padding-bottom:4;
    }
    
    .math
    {
        font-family: Times New Roman;
        font-size: 125%
    }
    
    .sourceCodeList
    {
        font-family: Verdana;
        font-size: 90%;    
    }
    
    pre.viewCode
    {
        width: 100%;
        overflow: auto;
    }
    
    MSHelp\:link
    {
        text-decoration: underline;
        color: #0000ff; 
        hoverColor: #3366ff;
        filterString: ;
    }
</STYLE>
</head>
<body><input type="hidden" id="userDataCache" class="userDataStyle"></input><input type="hidden" id="hiddenScrollOffset"></input><img id="dropDownImage" style="display:none; height:0; width:0;" src="drpdown.gif"><img id="dropDownHoverImage" style="display:none; height:0; width:0;" src="drpdown_orange.gif"><img id="collapseImage" style="display:none; height:0; width:0;" src="collapse.gif"><img id="expandImage" style="display:none; height:0; width:0;" src="exp.gif"><img id="copyImage" style="display:none; height:0; width:0;" src="copycode.gif"><img id="copyHoverImage" style="display:none; height:0; width:0;" src="copycodeHighlight.gif"><div id="header"><table width="100%" id="topTable"><tr id="headerTableRow1"><td align="left"><span id="runningHeaderText"></span></td></tr><tr id="headerTableRow2"><td align="left"><span id="nsrTitle">Keyboard Shortcuts for the Query Editor and Query Results View</span></td></tr><tr id="headerTableRow3"></tr></table></div><div id="mainSection"><div id="mainBody"><div id="allHistory" class="saveHistory"></div>
				<p>You can use the following icons and keyboard shortcuts to navigate within the query editor or query results view.</p>
				<p>
					<b>In this topic</b>
				</p>
				<ul><li class="unordered">
						
							<a href="#QueryEditor">Navigating within the Query Editor</a>
						<br /><br />
					</li><li class="unordered">
						
							<a href="#QueryResults">Navigating within the Query Results List</a>
						<br /><br />
					</li><li class="unordered">
						
							<a href="#NoPermission">Display Results When You Have No Permission to View a Work Item</a>
						<br /><br />
					</li></ul>
				<p>
					<b>Required Permissions</b>
				</p>
				<p>To use the query editor and view work items, you must be a member of the <b>Readers</b> group, or your <b>View work items in this node</b> permission must be set to <b>Allow</b>. To modify a work item, you must be a member of the <b>Contributors</b> group or your <b>View work items in this node</b> and <b>Edit work items in this node</b> permissions must be set to <b>Allow</b>. For more information, see <a href="http://go.microsoft.com/fwlink/?LinkID=182567" target="_blank" alt=""><linkText xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5">Team Foundation Server Permissions</linkText></a> on the Microsoft Web site.</p>
			<a name="QueryEditor"></a><a name="keybdshorts#QueryEditor"></a><h1 class="heading">Navigating within the Query Editor</h1><div id="sectionSection0" class="section"><content xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5">
					<h3 class="subHeading" xmlns=""></h3><table xmlns=""><tr>
								<th>
									Result
								</th>
								<th>
									Key or action
								</th>
							</tr><tr>
							<td>
								<p>Move the focus up or down.</p>
							</td>
							<td>
								<p>UP ARROW or DOWN ARROW</p>
							</td>
						</tr><tr>
							<td>
								<p>Move the focus left or right.</p>
							</td>
							<td>
								<p>RIGHT ARROW or LEFT ARROW</p>
							</td>
						</tr><tr>
							<td>
								<p>Move the focus down.</p>
							</td>
							<td>
								<p>ENTER</p>
							</td>
						</tr><tr>
							<td>
								<p>Move the focus to the right, one field at a time.</p>
							</td>
							<td>
								<p>TAB</p>
							</td>
						</tr><tr>
							<td>
								<p>Move the focus to the left, one field at a time.</p>
							</td>
							<td>
								<p>SHIFT+TAB</p>
							</td>
						</tr><tr>
							<td>
								<p>Copy the selected clause.</p>
							</td>
							<td>
								<p>CTRL+C</p>
							</td>
						</tr><tr>
							<td>
								<p>Save changes made to the query or work items in the query results list.</p>
							</td>
							<td>
								<p>CTRL+S</p>
							</td>
						</tr><tr>
							<td>
								<p>Paste the copied clause, and overwrite the selected clause.</p>
							</td>
							<td>
								<p>CTRL+V</p>
							</td>
						</tr><tr>
							<td>
								<p>Move the focus to the end of the current clause.</p>
							</td>
							<td>
								<p>END</p>
							</td>
						</tr><tr>
							<td>
								<p>Delete the contents of the current field or the selected clause.</p>
							</td>
							<td>
								<p>DELETE</p>
							</td>
						</tr><tr>
							<td>
								<p>Highlight consecutive clauses.</p>
							</td>
							<td>
								<p>SHIFT+UP ARROW or SHIFT+DOWN ARROW</p>
							</td>
						</tr></table>
				</content></div><a name="QueryResults"></a><a name="keybdshorts#QueryResults"></a><h1 class="heading">Navigating within the Query Results List</h1><div id="sectionSection1" class="section"><content xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5">
					<p xmlns="">You can use most of the shortcuts in the following table wherever you have a list of work items, such as the query results view or a list of linked work items within a work item form.</p>
					<h3 class="subHeading" xmlns=""></h3><table xmlns=""><tr>
								<th>
									Result
								</th>
								<th>
									Key or action
								</th>
							</tr><tr>
							<td>
								<p>Highlight a row.</p>
							</td>
							<td>
								<p>Click the row</p>
							</td>
						</tr><tr>
							<td>
								<p>Highlight consecutive rows.</p>
							</td>
							<td>
								<p>SHIFT+UP ARROW or SHIFT+DOWN ARROW</p>
							</td>
						</tr><tr>
							<td>
								<p>Save changes made to the query or work items in the query results list.</p>
							</td>
							<td>
								<p>CTRL+S</p>
							</td>
						</tr><tr>
							<td>
								<p>Sort the list by the values of a column, toggling between ascending and descending.</p>
								<p>The up-chevron indicates an ascending sort, and the down-chevron indicates a descending sort.</p>
								<div class="alert"><table width="100%" cellspacing="0" cellpadding="0"><tr><th align="left">Note </th></tr><tr><td>
									You can also sort by multiple columns. For more information, see <a href="querycolumns.htm" target="_blank">Add, Remove, Reorder, and Sort Columns</a>.<p></p>
								</td></tr></table><p></p></div>
							</td>
							<td>
								<p>Click a column heading</p>
							</td>
						</tr><tr>
							<td>
								<p>Resize a column.</p>
							</td>
							<td>
								<p>Drag an edge of a column header</p>
							</td>
						</tr><tr>
							<td>
								<p>Highlight the previous row or the next row.</p>
							</td>
							<td>
								<p>UP ARROW or DOWN ARROW</p>
							</td>
						</tr><tr>
							<td>
								<p>Scroll right or left.</p>
							</td>
							<td>
								<p>RIGHT ARROW or LEFT ARROW</p>
							</td>
						</tr><tr>
							<td>
								<p>Scroll up or down a page of results at a time.</p>
							</td>
							<td>
								<p>PAGE UP or PAGE DOWN</p>
							</td>
						</tr><tr>
							<td>
								<p>Highlight the first row or the last row.</p>
							</td>
							<td>
								<p>HOME or END</p>
							</td>
						</tr><tr>
							<td>
								<p>Open the selected work item.</p>
							</td>
							<td>
								<p>ENTER</p>
							</td>
						</tr></table>
				</content></div><a name="NoPermission"></a><a name="keybdshorts#NoPermission"></a><h1 class="heading">Display Results When You Have No Permission to View a Work Item</h1><div id="sectionSection2" class="section"><content xmlns="http://ddue.schemas.microsoft.com/authoring/2003/5">
					<p xmlns="">When query results contain a work item that you do not have required permissions to view, the cells of that work item are blank, except that the work item ID appears, and the title cell indicates <b>&lt;&lt;no access&gt;&gt;</b>.</p>
					<p xmlns="">When you sort a work item list that contains no-access rows, those rows sort as if their cells were blank. For example, if you sort by State, each no-access row appears at the top of the list. This rule applies to the Title field also. If you sorted by Title, no-access rows appear at the top of the list even though the title appears as <b>&lt;&lt;no access&gt;&gt;</b>. The exception to this rule is that, if you sort by work item ID, no-access rows appear in the expected sequence.</p>
				</content></div><h1 class="heading"><span id="seeAlsoNoToggle">See Also</span></h1><div id="seeAlsoSection" class="section"><h4 class="subHeading">Tasks</h4><a href="querycolumns.htm" target="_blank">Add, Remove, Reorder, and Sort Columns</a><br /><a href="listwitems.htm" target="_blank">List Work Items (Default Flat List)</a><br /><h4 class="subHeading">Concepts</h4><a href="findwitems.htm" target="_blank">Finding Bugs, Tasks, and Other Work Items</a><br /><br /></div><!--[if gte IE 5]>
			<tool:tip element="seeAlsoToolTip" avoidmouse="false"/><tool:tip element="languageFilterToolTip" avoidmouse="false"/>
		<![endif]--></div><div id="footer"><hr /><p /></div></div></body></html>